<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="v000_openbusCommon.jsp" flush="false" />

<html>
<head>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no"/>

<link rel="stylesheet" type="text/css" href="../static/css/openbus.css"></link>

<script type="text/javascript" src="../static/js/prototype_1.6.1.js"></script>
<script type="text/javascript" src="../static/js/xml2json.js"></script>
<script type="text/javascript" src="../static/js/openbusCommon.js"></script>
<script type="text/javascript" src="../static/js/openbus.js"></script>

<script type="text/javascript">

function showDataVersion() {
    var iframe = dataVersionIframe;
    // var param = "keyword=" + encodeURI($( 'keyword' ).value);
    var param = "keyword=" + $( 'keyword' ).value;
    iframe.location ="/openbus/stationsearch?key=${keyCommon}&" + param;
}

function preLoader()
{
    var heavyImage = new Image( 100, 100 ); 
    heavyImage.src = "../static/image/ajax/loading.gif" ; 
}

</script>

<title> 정류소 검색 </title>
</head>
<body onLoad="javascript:preLoader();">
<a href="demo.jsp">&lt;&lt;홈</a><br/>

정류소: <input type="text" id="keyword" value="안양" maxlength="10" size="12"/>
<img id="loadingLogoPane" style="visibility: hidden;"src="../static/image/ajax/loading.gif" />

<input type="button" value="정류소 검색" onclick="javascript:showDataVersion();"/> 
<br/>
<iframe id="dataVersionIframe" src="about:blank" width="500" height="500">
</iframe>
</body>
</html>
